package com.it.park.rms.client.service;

import java.util.HashMap;
import java.util.List;

import com.it.park.rms.client.model.User;
import com.it.park.rms.client.service.base.BaseService;

public interface UserService extends BaseService<User>{
	
	/**
	 * 登陆校验
	 * @param username
	 * @return
	 */
	User login(String username);
	
	boolean updatePwd(User user);//修改密码
	
    boolean updateAccountStatus(String id);
	
	User selectCheckField(HashMap<String, Object> map);
	 
	 List<User> selectLatestRegister();
	 
	 User selectByEmail(String email);
	 
	 List<User> selectIntegralRanking();
	 
	 /**
	  * 修改积分
	  * @param id
	  */
	 void updateUserIntegral(User user);
	 
	 
}
